Skip to main content

workgrouptype

Table: workgrouptype

The workgrouptype table stores types of workgroups and their metadata.

Columns

Column NameData TypeConstraintsDescription
workgrouptypeIdint(11)NOPrimary key for workgroup type
workgroupNamevarchar(45)YESName of the workgroup type
createdByUserIdint(11)YESUser who created the record
lastEditedByUserIdint(11)YESUser who last edited the record
createdDatedatetimeYESRecord creation timestamp
lastEditedDatedatetimeYESRecord last edited timestamp
assignedLatitudevarchar(255)YESLatitude assigned to the group
assignedLongitudevarchar(255)YESLongitude assigned to the group

Indexes

  • createdBy_FK_idx — Index on createdByUserId
  • editedBy_FK_idx — Index on lastEditedByUserId

Foreign Key Relations

  • createdByUserId → user.mappedId
  • lastEditedByUserId → user.mappedId

Usage Notes

  • Stores metadata for workgroup types including location coordinates.